package com.deyuanyun.pic.eqpt.mapper;

import com.deyuanyun.pic.eqpt.domain.EquipmentInfo;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface EquipmentInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(EquipmentInfo record);

    int insertSelective(EquipmentInfo record);

    EquipmentInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EquipmentInfo record);

    int updateByPrimaryKey(EquipmentInfo record);
    
    int updataLoan(Map<String, String> param);

    /**
     * Bill.li  获取设备数据
     * */
    List<EquipmentInfo> getQuipment(Map<String, Object> info);
    /**
     * Bill.li  添加设备数据
     *
     * @param param*/
    int addQuipment(EquipmentInfo param);
    /**
     * Bill.li  编辑更新设备数据
     *
     * @param param*/
    int updateQuipment(EquipmentInfo param);
    /**
     * Bill.li  删除设备数据
     * */
    boolean delQuipment(HashMap<String,Object> param);

    /**
     * Bill.li  导出设备数据
     * */
    List<LinkedHashMap<String,Object>> exportQuipment(HashMap<String,Object> param);
}